package com.luoyi.smathine.action;


import com.luoyi.smathine.constant.OrderStatus;
import com.luoyi.smathine.constant.OrderStatusChangeEvent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.statemachine.StateContext;
import org.springframework.statemachine.action.Action;
import org.springframework.stereotype.Component;


@Slf4j
@Component
public class PayAction implements Action<OrderStatus, OrderStatusChangeEvent> {
    @Override
    public void execute(StateContext<OrderStatus, OrderStatusChangeEvent> stateContext) {
        log.info("支付PayAction执行 .....");
    }
}
